<?php
	$template['title']='风景名胜';
	include 'inc/header_inc.php';
?>

			<!-- 当前位置 -->
			<div class="loaction">
				<ol class="breadcrumb">
					<li><img src="img/location.gif" />当前位置:</li>
					<li><a href="index.php"> 首页 </a> >> <a href="contactUs.php" class="active"> 风景名胜</a></li>
					<div class="search">
						<form action="" method="post">
							<input type="text" placeholder="请输入关键字查询.." name="search" class="form-control" />
							<input type="submit" class="btn btn-primary" value="搜索" />
						</form>
					</div>
				</ol>
			</div>

			<div id="main" class="container">
				<!-- 分页 -->
				<div class="page">
					<div class="title"><img src="img/index/content_title02.gif" alt="" /></div>
					<ul id="ul1"><p style="text-align:center; font-size:18px;" class="tip"><span>内容正在加载中...</span><img src="img/loading.gif" style="width:80px;" /></p></ul>
					<div id="div1"></div>
				</div>
				<?php
					include 'inc/sidebar_inc.php';
				?>
			</div>
			
			<!-- 友情链接 -->
			<div class="friendly">
				<div class="silde">友<br/>情<br/>链<br/>接</div>
				<ul>
				<p style="text-align:center; font-size:18px;" class="tip"><span>内容正在加载中...</span><img src="img/loading.gif" style="width:80px;" /></p>
				</ul>
			</div>
		</div>
		<?php
			include 'inc/footer_inc.php';
		?>

	<script type="text/javascript">
		$(function(){
			nav();
			//分页
			var json2 = {
				title : []
			};
			$.ajax({
				url:"inc/infodata_inc.php?product=2",//跳转的地址
				data:"",//提交的数据
				type:"post",//提交的类型
				datatype:"json",//返回的数据类型
				async:true,
				success:function(data){
					if(data){
						var json=eval("("+data+")");//将返回的数据转化成json
						for(var i=0;i<json.length;i++){
							json2.title.push("<img src="+ json[i].url_link +" class='pic' alt="+ json[i].title +" / >  <br  /><a href=msg_product.php?msg=famousScenery&id="+ json[i].id +" title="+ json[i].title +" class='share'>"+ json[i].title +"</a>");
						}
						$('.tip').remove();
						paging(json2);
						photo();
					}
				}
			});
		});
	</script>